package org.imaginedays.androidall.utils;

public class TimeCalculateUtil {

	public static String formatLongToTimeStr(long time) {
		Long l = time;
		int hour = 0;
		int minute = 0;
		int second = 0;

		second = l.intValue() / 1000;

		if (second > 60) {
			minute = second / 60;
			second = second % 60;
		}
		if (minute > 60) {
			hour = minute / 60;
			minute = minute % 60;
		}
		return (hour + "小时" + minute + "分钟" + second + "秒");
	}
	
}
